﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ActionService.DataTransferObjects
{
    [DataContract(Name = "InventoryLedger")]
    public class InventoryLedgerDto
    {
        [DataMember]
        public string InventoryLedgerID { get; set; }
        [DataMember]
        public string RefID { get; set; }
        [DataMember]
        public string RefDetailID { get; set; }
        [DataMember]
        public int RefType { get; set; }
        [DataMember]
        public string RefNo { get; set; }
        [DataMember]
        public DateTime RefDate { get; set; }
        [DataMember]
        public DateTime PostedDate { get; set; }
        [DataMember]
        public string StockID { get; set; }
        [DataMember]
        public string InventoryItemID { get; set; }
        [DataMember]
        public string RestaurantMenuID { get; set; }
        [DataMember]
        public string Unit { get; set; }
        [DataMember]
        public decimal UnitPrice { get; set; }
        [DataMember]
        public decimal InwardQuantity { get; set; }
        [DataMember]
        public decimal OutwardQuantity { get; set; }
        [DataMember]
        public decimal InwardAmount { get; set; }
        [DataMember]
        public decimal OutwardAmount { get; set; }
        [DataMember]
        public string JournalMemo { get; set; }
        [DataMember]
        public string Description { get; set; }
        [DataMember]
        public int OutwardPurpose { get; set; }
        [DataMember]
        public string RestaurantID { get; set; }
    }
}
